package com.baba.bracelet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author wulongbo
 * @version 1.0
 * @date 2020/6/12 16:36
 * @description
 */
@Data
@TableName("tbl_equip_info")//@TableName中的值对应着表名
@ApiModel(value = "定位数据，GPS+LBS+状态+基站+WIFI+报警")
public class EquipInfoEntity {
    /**
     * 主键id，UUID
     */
    @ApiModelProperty(value = "主键id", name = "id")
    @TableId(type = IdType.UUID)
    private String id;

    /**
     * 设备IMEI号,固定15位
     */
    @ApiModelProperty(value = "设备IMEI号,固定15位", name = "imei")
    private String imei;


    /**
     * 经度
     */
    @ApiModelProperty(value = "纬度",name = "lat")
    private String lat;

    /**
     * 纬度
     */
    @ApiModelProperty(value = "经度",name = "lon")
    private String lon;


    /**
     * 详细地址信息
     */
    @ApiModelProperty(value = "详细地址信息",name = "address")
    private String address;


    /**
     * GPS上传时间
     */
    @ApiModelProperty(value = "GPS上传时间",name = "create_time")
    private Date createTime;
}
